This was fun to make. I added a bunch of juicy stuff I usually do in Unity just for fun. The code is heavily commented and more verbose than it necessarily needs to be, because I wanted to make it easy to pull apart for people less familiar with making stuff in PICO-8. I'll keep adding stuff over time, but figured I'd release it as it is so far.
My highest score so far is 232. What's yours?
UPDATE: Added a possibility of slimes dropping a heart if you blow them up.
NOTE: There's nothing to "play" in this cart! It's all in the cart's code!
I remember reading a thread a while back about the idea of having the manual for PICO-8 available in the console itself, maybe in cart form. I plan on getting a PocketC.H.I.P. and I really want to have the whole API reference available to me right from inside PICO-8. So I decided to just put it all in a cart to always have a reference with me.
I made a lot of use of Neko250's awesome API cheatsheet, which is why he's credited as well as zep. I'm sure there are probably typos to correct and maybe an error here and there, so let me know if you see anything needing fixing. I'll try to keep it up to date. In the meantime, feel free to use it yourself.
Just a fun thing I made this afternoon. Happy 4th!
(And to everyone outside the US, I hope you had a great day too.) :D
These are variations of the rnd() function, but these return integers. You can either give just a maximum value or an arbitrary minimum and maximum value. You can also choose whether you want the maximum value to be exclusive or inclusive.
--random int between 0,h function rand(h) --exclusive return flr(rnd(h)) end function randi(h) --inclusive return flr(rnd(h+1)) end --random int between l,h function randb(l,h) --exclusive return flr(rnd(h-l))+l end function randbi(l,h) --inclusive return flr(rnd(h+1-l))+l end |
This is a simple cave game I'm making as part of some curriculum to teach kids how to make games in PICO-8. This would not be their first introduction to PICO-8. This would be after they have learned some other basic concepts. Feedback is welcome. :)
What's your high score?